package com.test.controller;

import com.test.annotation.Controller;
import com.test.annotation.Qualifier;
import com.test.annotation.RequestMapping;
import com.test.service.impl.UserService;

/**
 * Created by ASUS on 2017/8/6.
 */
@Controller("userController")
@RequestMapping("/user")
public class UserController {

    @Qualifier("userServiceImpl")
    private UserService userService;

    @RequestMapping("/insert")
    public void insert(){
        userService.insert();
    }
}
